package com.qc.common.exception;

/**
 * author : zk
 * Created by zk on 2017/11/2.
 */
public class GlobalException extends RuntimeException{
    private String code;

    public GlobalException() {
    }

    public GlobalException(String code) {
        this.code = code;
    }

    public GlobalException(String message, Throwable cause) {
        super(message, cause);
    }

    public GlobalException(Throwable cause) {
        super(cause);
    }

    public GlobalException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
